package cn.znzz.cjm.feign;

import cn.znzz.cjm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "system-server",fallbackFactory = UserInfoFallback.class)
public interface IUserInfoFeignClient {
    @GetMapping("/employee/findUserInfo/{id}")
    AjaxResult findUserInfo(@PathVariable("id") Long id);
}